package com.example.core.dao;

import com.example.core.entity.DealerForm;
import com.example.core.entity.JxsWrWriteDealerForm;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProcessingDao {

    //查询dealerForm
    List<DealerForm> queryDealerForm(@Param("yearId") String yearId, @Param("quarterId") String quarterId);

    //各季度经销商数量
    List<DealerForm> querytDealerCount(@Param("yearId") String yearId, @Param("quarterId") String quarterId);

    //各季度按地区划分经销商数量
    List<DealerForm> querytDealerCountByRegion(@Param("yearId") String yearId, @Param("quarterId") String quarterId);

    List<DealerForm> queryDistincttDealer(@Param("yearId") String yearId, @Param("quarterId") String quarterId);

    List<JxsWrWriteDealerForm> queryBaseDataByDate(@Param("yearId") String yearId, @Param("quarterId") String quarterId);

    Integer queryBaseDataByBatchId(List<String> param);

    //计算错误日志记录
    void insertJxsWrExceLog(@Param("classType")String classType, @Param("message")String message,@Param("yearId") String yearId,@Param("quarterId") String quarterId);

}
